package logic;

import java.io.Serializable;

public class Order extends Object implements Serializable{
	
	public final static int ORDER_OPEN = 1;
	public final static int ORDER_FINISHED = 2;
	public final static int ORDER_CANCELED = 3;

	private static final long serialVersionUID = 1L;

	private int OID;
	private int UID;
	private int BID;
	private String OrderDate;
	private int status;

	public Order(int OID,int UID,int BID,String OrderDate,int status) {
		this.OID = OID;
		this.UID = UID;
		this.BID = BID;
		this.OrderDate = OrderDate;
		this.status = status;

	}
	
	//TODO verify if JavaDoc needed for each specific getter
	
	public int getOID(){return this.OID;}
	public int getUID(){return this.UID;}
	public int getBID(){return this.BID;}
	public String getOrderDate(){return this.OrderDate;}
	public int getstatus(){return this.status;}
	public long getserialVersionUID(){return serialVersionUID;}
}
